/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;
import model.Siswa;
import java.util.List;

/**
 *
 * @author LOBA
 */
public interface siswaDAO {
    public void insert(Siswa sw);
public void delete(String nis);
public void update(String oldNis, Siswa sw);
public Siswa loadNama(String nama);
public Siswa load(String nis);
public List<Siswa> getAll();
public List<Siswa> getAll(String name);
public List<Siswa>getAllNis(String nis);
    
    
    public void insertSiswa
            (String nis, String nama, String alamat, String noTelp);
    public void insertSiswa(Siswa sw);
    
    
}
